package app.fugema.shop.main.home.model;

import java.util.List;
import java.util.Objects;

public class HotSearchBean {

    /**
     * code : 0
     * msg : 成功
     * data : [{"hotSearchId":1,"title":"阿拉斯加犬","content":"阿拉斯加犬阿拉斯加犬阿拉斯加犬"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * hotSearchId : 1
         * title : 阿拉斯加犬
         * content : 阿拉斯加犬阿拉斯加犬阿拉斯加犬
         */

        private int hotSearchId;
        private String title;
        private String content;

        @Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            DataBean dataBean = (DataBean) o;
            return Objects.equals(title, dataBean.title);
        }


        public int getHotSearchId() {
            return hotSearchId;
        }

        public void setHotSearchId(int hotSearchId) {
            this.hotSearchId = hotSearchId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }


    }

}
